home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2643 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

  1. Path: fido.asd.sgi.com!news
  2. From: austern@isolde.mti.sgi.com (Matt Austern)
  3. Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.c++
  4. Subject: Re: C++ with Zapp vs. Delphi
  5. Date: 18 Jan 1996 22:06:55 GMT
  6. Organization: SGI
  7. Message-ID: <AUSTERN.96Jan18140655@isolde.mti.sgi.com>
  8. References: <4coar6$d4n@sun4.bham.ac.uk> <4coip7$69s@news1.usa.pipeline.com>
  9.     <fRA+w0JfFG5X089yn@oslonett.no> <4dcc4d$6anc@tigger.cc.uic.edu>
  10.     <4ddke3$5lf@fountain.mindlink.net>
  11.     <NEWTNews.821822862.4682.keith@keith.gpim.xerox.com>
  12.     <4dmdcd$6sv@crc-news.doc.ca>
  13. Reply-To: austern@mti.sgi.com
  14. NNTP-Posting-Host: isolde.mti.sgi.com
  15. In-reply-to: Slobodan Celenkovic's message of 18 Jan 1996 21:17:01 GMT
  16.  
  17. In article <4dmdcd$6sv@crc-news.doc.ca> Slobodan Celenkovic <slobodan@cs.unh.edu> writes:
  18.  
  19. > Multiple inheritance is one of the controversial features implemented by 
  20. > few languages, including C++. There were many debates about the need for 
  21. > MI. Indeed one can come up with very good examples where it is needed. 
  22. > Yet as far as I know MI is not really used much nor needed very often. In 
  23. > practice I haven't had a need for it. So it is not really very important 
  24. > and certainly not the key feature of OO.
  25.  
  26. Multiple inheritance of implementations can get messy and is rarely
  27. needed.  Multiple inheritance of interfaces, though, is extremely
  28. common; there are lots of designs that are absolutely impossible
  29. without it.  And even in the case of implementation inheritance:
  30. please note that I said "rarely needed", not "never needed".
  31.  
  32. Nor is multiple inheritance a feature that's unique to C++.  It's
  33. supported by C++, Eiffel, Sather, Java, CLOS, and other languages.
  34. (In Java it only applies interfaces.)
  35. -- 
  36. Matt Austern
  37. SGI: MTI Compilers Group
  38. austern@isolde.mti.sgi.com
  39.